package com.hd.crdao.bean;

import java.util.List;

/**
 *
 *@author Administrator
 *@date 2017/5/31 0031
 */

public class AreaListBean {


    /**
     * success : 00
     * message : 处理成功
     * listArea : [{"id":"125","isNewRecord":false,"parentIds":"0","name":"福建省","sort":30,"code":"10","type":"1","namepy":"F","parentId":"0"},{"id":"197","isNewRecord":false,"parentIds":"0","name":"湖南省","sort":30,"code":"10","type":"1","namepy":"H","parentId":"0"},{"id":"285","isNewRecord":false,"parentIds":"0","name":"云南省","sort":30,"code":"10","type":"1","namepy":"Y","parentId":"0"}]
     */

    private String success;
    private String message;
    private List<ListAreaBean> listArea;

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<ListAreaBean> getListArea() {
        return listArea;
    }

    public void setListArea(List<ListAreaBean> listArea) {
        this.listArea = listArea;
    }

    public static class ListAreaBean {
        /**
         * id : 125
         * isNewRecord : false
         * parentIds : 0
         * name : 福建省
         * sort : 30
         * code : 10
         * type : 1
         * namepy : F
         * parentId : 0
         */

        private String id;
        private boolean isNewRecord;
        private String parentIds;
        private String name;
        private int sort;
        private String code;
        private String type;
        private String namepy;
        private String parentId;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public String getParentIds() {
            return parentIds;
        }

        public void setParentIds(String parentIds) {
            this.parentIds = parentIds;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getNamepy() {
            return namepy;
        }

        public void setNamepy(String namepy) {
            this.namepy = namepy;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

    }
}
